﻿using System;
namespace Gift.Model
{
    /// <summary>
    /// tbCompanyRule:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class tbCompanyRule
    {
        public tbCompanyRule()
        { }
        #region Model
        private int _ruleid;
        private string _description;
        private string _name;
        private int? _parentid;
        private int? _level;
        private bool _disable;
        private int? _shopid;
        private string _url;
        private bool _iscompany;
        private int? _companyid;
        /// <summary>
        /// 
        /// </summary>
        public int RuleID
        {
            set { _ruleid = value; }
            get { return _ruleid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ParentID
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Level
        {
            set { _level = value; }
            get { return _level; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool Disable
        {
            set { _disable = value; }
            get { return _disable; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ShopId
        {
            set { _shopid = value; }
            get { return _shopid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Url
        {
            set { _url = value; }
            get { return _url; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsCompany
        {
            set { _iscompany = value; }
            get { return _iscompany; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? companyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        #endregion Model

    }
}

